<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/bootstrap-theme.min.css"/>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/themes/bootstrap/easyui.css"/>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/themes/icon.css"/>

<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.easyui.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/easyui-lang-zh_CN.js"></script>
</head>
<script type="text/javascript">
	$(function(){
		$.ajax({
			type: 'post',
			url: '${pageContext.request.contextPath}/showUserInfoAction',
			dataType: 'json',
			success: function(data){
				$("#infoTable").append("<tr style='display:none;'><td>管理员id</td><td>"+data.aid+"</td><tr>"
					+"<tr><td>姓名</td><td>"+data.aname+"</td></tr>"
					+"<tr><td>年龄</td><td>"+data.aage+"</td></tr>"
					+"<tr><td>电话</td><td>"+data.aphone+"</td></tr>");
			}
		});
	});
</script>
<body>
	<div class="container-fluid">
		<div class="row">
			<div class="col-md-8 col-md-offset-2" style="margin-top: 50px">
				<table id="infoTable" class="table table-striped">
		
				</table>
			</div>
		</div>
	</div>
	
</body>
</html>